package com.xhl.vo;

import java.io.Serializable;
import java.util.List;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

@Repository
@Scope("prototype")
public class OrderVO implements Serializable {
    private static final long serialVersionUID = 1L;

    //

    private int oid;            //id
    private String orderCode;    //
    private String address;        //ַ
    private String post;        //
    private String receiver;    //
    private String mobile;        //
    private String userMessage;    //
    private String createDate;    //
    private String payDate;        //֧
    private String deliveryDate;//
    private String confirmDate;    //
    private int uid;            //
    private String status;        //״̬


    private double totalValue;    //ֵ
    private int number;            //


    private List<OrderItemVO> oilist;

    private UserVO user;


    public int getOid() {
        return oid;
    }

    public void setOid(int oid) {
        this.oid = oid;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getUserMessage() {
        return userMessage;
    }

    public void setUserMessage(String userMessage) {
        this.userMessage = userMessage;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getPayDate() {
        return payDate;
    }

    public void setPayDate(String payDate) {
        this.payDate = payDate;
    }

    public String getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(String deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    public String getConfirmDate() {
        return confirmDate;
    }

    public void setConfirmDate(String confirmDate) {
        this.confirmDate = confirmDate;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<OrderItemVO> getOilist() {
        return oilist;
    }

    public void setOilist(List<OrderItemVO> oilist) {
        this.oilist = oilist;
    }


    public double getTotalValue() {
        return totalValue;
    }

    public void setTotalValue(double totalValue) {
        this.totalValue = totalValue;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }


    public UserVO getUser() {
        return user;
    }

    public void setUser(UserVO user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "OrderVO [oid=" + oid + ", orderCode=" + orderCode + ", address=" + address + ", post=" + post
                + ", receiver=" + receiver + ", mobile=" + mobile + ", userMessage=" + userMessage + ", createDate="
                + createDate + ", payDate=" + payDate + ", deliveryDate=" + deliveryDate + ", confirmDate="
                + confirmDate + ", uid=" + uid + ", status=" + status + ", totalValue=" + totalValue + ", number="
                + number + ", oilist=" + oilist + "]";
    }


}
